cmake_minimum_required(VERSION 3.0)
PROJECT(DEALFILE_FDFS)

include_directories(../common/ /usr/include/fastdfs/)

aux_source_directory(../common ALL_SRCS)
# aux_source_directory(./src SRC)
add_compile_options(-Wall)
add_executable(dealfile ${ALL_SRCS} main.c)

target_link_libraries(dealfile fdfsclient fcgi mysqlclient rt hiredis pthread)
